<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../js/documentMyReady.js"></script>
    <style>
        body,img,div{
            margin: 0;
            padding: 0;
        }
        .item-wrap{
            width: 800px;
            height: 600px;
            overflow: hidden;
            margin: 0 auto;
            display: flex;
            position: relative;
        }
        .item-wrap div{
            position: relative;
        }     
    </style>
    <script>
        "use strict";
        document.myReady(function(){
            
            moveToLeftAuto();
            moveToRightAuto();
            movePause();
            moveToIndex();
        });
    </script>
</head>
<body>
    <div class="slide-wrap">
        <div class="item-wrap">
            <div class="slide-item1"><img src="../images/pic1.jpg" alt=""></div>
            <div class="slide-item2"><img src="../images/pic2.jpg" alt=""></div>
            <div class="slide-item3"><img src="../images/pic3.jpg" alt=""></div>
            <div class="slide-item4"><img src="../images/pic4.jpg" alt=""></div>
            <div class="slide-item5"><img src="../images/pic5.jpg" alt=""></div>
        </div>
        <div class="control-wrap">
            <button class="move-to-left-auto">move-to-left-auto</button>
            <button class="move-to-right-auto">move-to-right-auto</button>
            <button class="move-pause">move-pause</button>
            <button class="move-to-index"></button>
        </div>
    </div>
</body>
</html>